<html>
<head>
<title>
Chrome ActiveX setup
</title>
<style>
.urllist {
  width:650;
  height:300;
}
</style>

<script>
function loadSettings() {
urllist.value = chrome.extension.getBackgroundPage().getUrlPlain();
}

function saveSettings() {
chrome.extension.getBackgroundPage().setUrlMatches(urllist.value);
}
</script>
</head>
<body onload="loadSettings();">

<p class="description">The urls in the following list, expressed in regex expressions, one per line, will be qualified to load ActiveX plugins whenever possible</p>

<textarea class="urllist" id="urllist"></textarea><br/>
<button class="save" id="btnsave" onclick="saveSettings();">Save</button>

</body>
</html>
